tywx.ClipboardInterface = {
    _data: null,
    setClipboardData: function(t, a, l) {
        if (!tywx.IsWechatPlatform()) return null;
        this._data = t, wx.setClipboardData({
            data: t,
            success: a,
            fail: l
        });
    },
    getClipboardData: function(t) {
        if (!tywx.IsWechatPlatform()) return console.log("app is not webchat"), null;
        wx.getClipboardData(t);
    }
};